package com.library.entity;

import java.math.BigDecimal;
import java.sql.Date;

/**
 * 付款记录
 */
public class Payrec {

    private String sno; //学号
    private BigDecimal payAmount; //付款金额
    private Date payDate; //付款日期
    private Integer serNum; //付款流水号

    public Payrec() {
    }

    public Payrec(String sno, BigDecimal payAmount, Date payDate, Integer serNum) {
        this.sno = sno;
        this.payAmount = payAmount;
        this.payDate = payDate;
        this.serNum = serNum;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public Date getPayDate() {
        return payDate;
    }

    public void setPayDate(Date payDate) {
        this.payDate = payDate;
    }

    public Integer getSerNum() {
        return serNum;
    }

    public void setSerNum(Integer serNum) {
        this.serNum = serNum;
    }

    @Override
    public String toString() {
        return "Payrec{" +
                "sno='" + sno + '\'' +
                ", payAmount=" + payAmount +
                ", payDate=" + payDate +
                ", serNum=" + serNum +
                '}';
    }
}
